ip dhcp-client class-id

This command enables configuration of DHCP Option 60 (Vendor Class Identifier) to be sent by the client.

Syntax

ip dhcp-client class-id <string>

Command

Description

string

The “vendor class id” string (Option 60) to be sent in the DHCP negotiation.

Default

Option 60 is not sent by default

Command Mode

Privileged User

Related Commands

ip address dhcp

Example

This example configures a new VLAN interface, enables DHCP, and sets the vendor class string to “MSBR”.

(config-data)# interface vlan 3
(conf-if-VLAN 3)# ip address dhcp
(conf-if-VLAN 3)# ip dhcp-client class-id "MSBR"
(conf-if-VLAN 3)# no shutdown
(conf-if-VLAN 3)# exit